//
//  LSRSettingViewController.m
//  BaiSiProject
//
//  Created by lshenrong on 16/7/5.
//  Copyright © 2016年 lshenrong. All rights reserved.
//

#import "LSRSettingViewController.h"

@interface LSRSettingViewController ()

@end

@implementation LSRSettingViewController
 static   NSString *ID=@"CELL";

- (void)viewDidLoad {
    [super viewDidLoad];
//   这样只能设置其中一种，要两种都实现，设置一个按钮
//    self.navigationItem.leftBarButtonItem=[[UIBarButtonItem alloc] initWithTitle:@"返回" style:0 target:self action:@selector(returnClick)];
//    
//    self.navigationItem.leftBarButtonItem=[[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"navigationButtonReturn"] style:0 target:nil action:nil];

//    self.navigationItem.leftBarButtonItem=[UIBarButtonItem itemWithimage:[UIImage imageNamed:@"navigationButtonReturn"] highlightImage:[UIImage imageNamed:@"navigationButtonReturnClick"] Target:self action:@selector(returnClick:) forControlEvents:UIControlEventTouchUpInside string:@"发现"];
    self.title=@"设置";
    [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:ID];
                                                                                                                    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {

    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {

    return 1;
}


- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:ID forIndexPath:indexPath];
    
    cell.textLabel.text=@"清除缓存";
    return cell;
}


@end
